home *** CD-ROM | disk | FTP | other *** search
- /* $VER: 1.1 Pass command to GUIMake. Launch GUIMake if necessary. */
-
- ARG command
-
- host = ADDRESS() /* get GED's port */
-
- if ~show('p', 'GUIMAKE') then
- 'RUN ASYNC CMD=GUIMAKE:GUIMake OUTPUT=NIL: WAITPORT=GUIMAKE'
-
- if show('p', 'GUIMAKE') then
-
- do
- ADDRESS GUIMAKE
- command
- end
- else
- do
- ADDRESS (host)
- 'REQUEST BODY "Couldn''t launch GUIMake ?!"'
- end
-
- EXIT
-